package com.hsnn.medstgmini.pro.base.service;


import java.util.List;
import java.util.Map;

import com.hsnn.medstgmini.base.std.model.HospInfo;
import com.hsnn.medstgmini.pro.base.model.BaseGoods;
import com.hsnn.medstgmini.pro.base.model.form.BaseShortmedicineForm;
import com.hsnn.medstgmini.pro.base.model.form.ShortMedicine;
import com.hsnn.medstgmini.sys.model.SysUser;
import com.hsnn.medstgmini.util.Pagination;



public interface DrugShortageManager {
	public Pagination getAllShortage(Pagination page);
	
	public Pagination getShortageInfo(Pagination page , HospInfo hospInfo);
	
	public void UpdateBySMI(ShortMedicine sm);
	
	public void UpdateBySS(ShortMedicine sm);
	/**
	 * 获取中标药品
	 * @param page
	 * @return
	 */
	public Pagination getDataList(Pagination page, HospInfo hospInfo);
	
	void saveDrugInfoRep(BaseShortmedicineForm form, SysUser user);
	
	/**
	 * 修改、新增页面
	 * @param prodId
	 * @return
	 */
	Map<String, Object> getDrugShortageDetail(String goodsCode, String projId);
	
	void saveDrugInfo(BaseShortmedicineForm form, SysUser user);
	
	
	List<BaseGoods> getHospInfoListByDrugName(String drugName,String formName,String specName,String factor,String unitName,String compName,String drugAttr);
	
	public Map<String, Object> getDrugInfo(String shortmedicine_id);
	/**
	 * 卫生局查看医院短缺药品
	 * @param page
	 * @param hospInfo
	 * @return
	 */
	public Pagination getShortageInfoWSJ(Pagination page);
	List<BaseShortmedicineForm> getHospInfoListByDrugNameHosp(String drugName,String formName,String specName,String factor,String unitName,String compName,String drugAttr);
	
}
